using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MeleeAnimatorFunc : MonoBehaviour
{
    private Melee melee;
    // private AudioSource effectAudio;
    
    private void Awake()
    {
        // effectAudio = GetComponent<AudioSource>();
        melee = GetComponentInChildren<Melee>();
    }

    public void SwitchCanAttack()
    {
        // effectAudio.Play();
        melee.SwitchCanAttack();
    }
}
